package com.example.provider.service;

import com.example.demo.service.DemoService;
import org.apache.dubbo.config.annotation.DubboService;


/**
 * @Description:
 * @Author: yangzhiwei
 * @Date: 2021/9/13 10:53
 */
@DubboService(version = "1.0.0", group = "DUBBO")
public class DefaultService implements DemoService {
    @Override
    public void sayHello() {
        System.out.println("hello");
    }

    @Override
    public void sayName(String name) {
        System.out.println(name);
    }
}
